package com.xingchi.tornado.security.event;

import com.xingchi.tornado.security.model.LoginData;
import org.springframework.context.ApplicationEvent;

/**
 * 登录完成事件
 *
 * @author xingchi
 * @date 2024/11/27 20:43
 */
public class LoginFinishEvent extends ApplicationEvent {

    private boolean success;
    private LoginData<?> loginData;

    public LoginFinishEvent(boolean success, LoginData<?> loginData) {
        super(loginData);
        this.loginData = loginData;
    }
}
